<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入事件ID"
                                    v-model="govRoadProtectionCaseManageInfo.conditions.roadCaseId"
                                    class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <select class="custom-select" v-model="govRoadProtectionCaseManageInfo.conditions.objType">
                                    <option selected value="">请选择主体类型</option>
                                    <option value="1">道路</option>
                                    <option value="2">校园周边</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入主体名称"
                                    v-model="govRoadProtectionCaseManageInfo.conditions.objName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入案（事）件编号"
                                    v-model="govRoadProtectionCaseManageInfo.conditions.caseName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入案（事）件名称"
                                    v-model="govRoadProtectionCaseManageInfo.conditions.caseCode" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3" >
                            <div class="form-group">
                                <input type="text" placeholder="请输入发生日期"
                                    v-model="govRoadProtectionCaseManageInfo.conditions.happenedTime"
                                    class=" form-control qHappenedTime">
                            </div>
                        </div>
                        <div class="col-sm-3" >
                            <div class="form-group">
                                <input type="text" placeholder="请输入发生地点"
                                    v-model="govRoadProtectionCaseManageInfo.conditions.happenedPlace"
                                    class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryGovRoadProtectionCaseMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>路案事件信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddGovRoadProtectionCaseModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            添加事件
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">事件ID</th>
                                <th class="text-center">主体类型</th>
                                <th class="text-center">主体名称</th>
                                <th class="text-center">案（事）件编号</th>
                                <th class="text-center">案（事）件名称</th>
                                <th class="text-center">发生日期</th>
                                <th class="text-center">主犯（嫌疑人）证件类型</th>
                                <th class="text-center">主犯（嫌疑人）证件号码</th>
                                <th class="text-center">主犯（嫌疑人）姓名</th>
                                <th class="text-center">案件性质</th>
                                <th class="text-center">是否破案</th>
                                <th class="text-center">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="govRoadProtectionCase in govRoadProtectionCaseManageInfo.govRoadProtectionCases">
                                <td class="text-center">{{govRoadProtectionCase.roadCaseId}}</td>
                                <td class="text-center">{{govRoadProtectionCase.objType == '1'?'道路':'校园周边'}}</td>
                                <td class="text-center">{{govRoadProtectionCase.objName}}</td> 
                                <td class="text-center">{{_getRoadName(govRoadProtectionCase.roadProtectionId)}}</td> 
                                <td class="text-center">{{govRoadProtectionCase.caseName}}</td>
                                <td class="text-center">{{govRoadProtectionCase.caseCode}}</td>
                                <td class="text-center">{{govRoadProtectionCase.happenedTime}}</td>
                                <td class="text-center">{{_getIdType(govRoadProtectionCase.idType)}}</td>
                                <td class="text-center">{{govRoadProtectionCase.idCard}}</td>
                                <td class="text-center">{{govRoadProtectionCase.personName}}</td>
                                <td class="text-center">{{_getCaseType(govRoadProtectionCase.caseType)}}</td>
                                <td class="text-center">{{govRoadProtectionCase.isSolved == '1'?'破案':'未破案'}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditGovRoadProtectionCaseModel(govRoadProtectionCase)">修改</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteGovRoadProtectionCaseModel(govRoadProtectionCase)">删除</button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>



    <vc:create path="gov/addGovRoadProtectionCase" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="gov/editGovRoadProtectionCase"></vc:create>
    <vc:create path="gov/deleteGovRoadProtectionCase"></vc:create>

</div>